<!DOCTYPE html>
<html>
<head>
	<title>这里有家小说网站</title>
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width,height=device-height, initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=750px, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
	<style type="text/css">
		input,select,option,textarea{outline:none;}
	</style>
	<link rel="stylesheet" href="../static/layui-v2.4.5/layui-v2.4.5/layui/css/layui.css" media="all">
    <script src="../static/layui-v2.4.5/layui-v2.4.5/layui/layui.js"></script>
	<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='book-info.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='novel.css') }}">
    <script type="text/javascript" src="../static/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src = "../static/js/book-info.js"></script>
	<script>


    </script>
</head>
<body>
	<div id="page1">
		<iframe align="center" width="100%" height="44" src='../static/book-base.html' frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
	</div>
	<div class="content clear">
		<p class="bread">当前位置：
			<a href="/index" target="_blank">好书首页</a>&gt;
			<a href="/index?type_={{ infos['type_'] }}" target="_blank">{{ infos['type_'] }}</a>&gt;
			<a href="#" target="_blank">{{ infos['bkname'] }}</a>
	   	</p>
	   	<div class="content-detail clear">
	   		<dl class="bookprofile">
	   			<dt>
	   				<img src="{{ infos['img'] }}">
	   			</dt>
	   		
	   			<dd>
		   			<div class="content-title">
			   			<h1><span class="title">{{ infos['bkname'] }}</span>
			   				<span class="name">文&nbsp;/&nbsp;<a href="#" target="_blank">{{ infos['author'] }}</a></span>
			   			</h1>
			   		</div>
			   		<p class="sub-cols">
				   		<span>会员作品</span>
				   		<span>{{ infos['status'] }}</span>
				   		<span>类别：{{ infos['type_'] }}</span>
			   		</p>
			   		<p class="sub-data clear">
			   			<span><em>--</em>字</span>
				   		<span><em>--</em>阅读</span>
				   		<span><em>--</em>收藏</span>
			   		</p>
			   		<p class="sub-newChapter clear">
			   			最新章节：
			   			<a href="#" target="_blank">{{ infos['newzj'] }}</a>
			   			<span class="time">{{ infos['updateAt']}}</span>
			   		</p>
			   		<div class="book-btns clear">
                        {% if "objectId" not in infos['chapter'][0] %}
                            <a href="/book_content/url?url={{ infos['chapter'][0]['url'] }}" class="start-read">开始阅读</a>
                        {% else %}
                            <a href="/book_content/db/{{ infos['chapter'][0]['objectId'] }}" class="start-read">开始阅读</a>
                        {% endif %}
{#			   			<a href="/book_content/db/{{ infos['objectId'] }}" class="start-read">开始阅读</a>#}
			   			<a href="" onclick="fav()" class="fav" id="fav">加入书架</a>
			   		</div>
			   	</dd>
	   		</dl>
	   	</div>
	
	</div>
	 <div class="box clear">
	 	<div class="box-hd">
	 		<h3 class="active">作品介绍</h3>
	 		<h3 class="chapterlisttab">作品目录</h3>
	 	</div>
	 	<div class="box-content" style="display: block;">
	 		<div class="profile">
	 			<dl class="book-info">
	 				<dd>
						<p>{{ infos['intro'] | safe}}”</p>
	 				</dd>
	 			</dl>
	 		</div>
{#	 		<div class="btn">#}
{#	 			<span class="btn-show">展开</span>#}
{#	 		</div>#}
	 	</div>
	 	<div class="chapterlist-main" style="display: none;">
	 		<div class="chapterlist">
	 			<dl>
	 				<dt>
	 					第一卷
	 				</dt>
	 				<dd>
	 					<ul>
{#                            {% for info in infos['chapter'] %}#}
{#	 						<li>#}
{#                            {% if "objectId" not in info %}#}
{#                                <a href="/book_content/url?url={{ info['url'] }}">{{ info['zj'] }}</a>#}
{#                            {% else %}#}
{#	 							<a href="/book_content/db/{{ info['objectId'] }}">{{ info['zj'] }}</a>#}
{#                            {% endif %}#}
{#	 						</li>#}
{#                            {% endfor %}#}
	 					</ul>
	 				</dd>
<!--                    <div class="loading">-->
<!--                        <span class="loading-text">正在加载...</span>-->
<!--                    </div>-->
{#                    <div class="btn">#}
{#                        <span class="btn-show">展开</span>#}
{#                    </div>#}
{#	 				<dt>#}
{#	 					<a href="#">公告及作品相关</a>#}
{#	 				</dt>#}
{#	 				<dd>#}
{#	 					<ul>#}
{#	 						<li>#}
{#	 							<a href="#">治丧请假通知</a>#}
{#	 						</li>#}
{#	 						<li>#}
{#	 							<a href="#">治丧请假通知</a>#}
{#	 						</li>#}
{#	 					</ul>#}
{#	 					#}
{#	 				</dd>#}
	 			</dl>
	 		</div>

	 	</div>
	 </div>
<div class="footer">
        <div class="container">
            <div class="top-menu">
                <a href="#">关于本站</a>
                <a href="#">联系我们</a>
                <a href="#">帮助</a>
            </div>
            <p class="copyrigt">
                版权所有：XXXX
            </p>
        </div>
 </div>

</body>
</html>